package com.umakr.ax.app.service;

import com.umakr.ax.common.mapper.AutoMenuMapper;
import com.umakr.ax.common.model.AutoMenu;
import com.umakr.ax.common.service.AutoMenuService;
import com.umakr.ax.core.base.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


/**
 * <p>
 * ${table.comment} 服务实现类
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
@Service
public class AppAutoMenuService extends BaseService<AutoMenuMapper, AutoMenu>{

    @Autowired
    AutoMenuService autoMenuService;

    /**
     * 获取电台的自定义菜单
     * @param param
     * @return
     */
    public Object detail(@RequestParam Map<String, Object> param) {
        return resultMap(autoMenuService.detail(param));
    }

}
